﻿namespace Xc.DataAccess.Protocoals.WaterMeters.Models
{
    /// <summary>
    /// 表计上报的错误
    /// </summary>
    public enum MeterError:byte
    {
        /// <summary>
        /// 低压
        /// </summary>
        LowVoltage=0,
        /// <summary>
        /// 表计充值量+表剩余量>囤积量,禁止充值
        /// </summary>
        ProhibitCharge=0x24,
        /// <summary>
        /// 出现磁干扰，无法永久开阀,但可以临时开阀
        /// </summary>
        OpenValveError=0x07,
        /// <summary>
        /// 充值成功，但处于远程关阀状态，不能开阀，需要远程开阀
        /// </summary>
        ChargeOkOpenValveNG=0x44,
        /// <summary>
        /// 工程卡 表计工具卡或用户卡回写错误时禁止充值
        /// </summary>
        NotAllowCharge=0x32|0x33|0x35|0x28
    }
}
